<?php

use \Welcomescreen\Agavi\View;

class Backend_Users_AddErrorView extends View\BackendBaseView {
	
	/**
	 * @parameter  \AgaviRequestDataHolder $rd
	 * @return     mixed
	 */
	public function executeText(\AgaviRequestDataHolder $rd) {
		$this->setupText($rd);
		$this->setAttribute('errors', $this->getContainer()->getValidationManager()->getReport()->getErrorMessages());
	}
}

?>